

import com.smartmedical.es.util.HighLevelRestUtil;
import com.smartmedical.common.security.annotation.EnableCustomConfig;
import com.smartmedical.common.security.annotation.EnableRyFeignClients;
import com.smartmedical.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class MedicEsApplication {
    public static void main(String[] args) {
        SpringApplication.run(MedicEsApplication.class, args);
        HighLevelRestUtil highLevelRestUtil = new HighLevelRestUtil();
        boolean b = highLevelRestUtil.checkIndex("test_index");
        System.out.println("hklj;ftlgyiuh;"+b);
    }
}
